<%@ page language="java" pageEncoding="utf-8"%>
<%@ page import="java.util.*" %>
<%@ page isELIgnored="false" %> 

<%@ page import="net.ssta.core.db.RecordSet"%>
<%@ page import="net.ssta.core.db.Record"%>
<%@ page import="net.ssta.core.web.RequestKit"%>
<%@ page import="net.ssta.core.db.PagingInfo"%>

<%
	String path = request.getContextPath();
	
	//分页参数
    PagingInfo pagingInfo =(PagingInfo) request.getAttribute("pagingInfo");
    int pageno = pagingInfo.getCurrentPageNo();
	//获取技术需求列表
	RecordSet achieveSet = (RecordSet)request.getAttribute("achieveSet");
	//获取技术需求对应的跟踪信息数量
	Map trackcount = (Map)request.getAttribute("trackcount");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML>
<HEAD>
    <TITLE>会员成果跟踪-国家安科网</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=utf-8">
    <META http-equiv=x-ua-compatible content=ie=7>
    <META content="MSHTML 6.00.6000.17107" name=GENERATOR>
    <link href="<%=path%>/common1/css/layout.css" rel="stylesheet" type="text/css" />
	<link href="<%=path%>/common1/css/user.css" rel="stylesheet" type="text/css" />
    <LINK href="<%=path%>/includes/Fvalidate/style.css" type=text/css rel=stylesheet>
    <script type="text/javascript" src="<%=path%>/includes/DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="<%=path%>/includes/styleBase/js/jquery.js"></script>
	<script type="text/javascript" src="<%=path%>/includes/KindEditor/kindeditor.js"></script>    
    <script type="text/javascript" src="<%=path%>/includes/Fvalidate/Fvalidate.js"></script>

    <SCRIPT>  
	
    function _infoshow(uuid)
	{
	 	window.location.href = "<%=path%>/membercenter/market?method=investShow&uuid="+uuid;
	}
	
	function _addTrack(uuid,title)
	{
		window.open("<%=path%>/membercenter/achievetrack1/achieveAdd.jsp?uuid="+uuid+"&kjcgtitle="+title+"","添加成果跟踪",'height=420,width=600,toolbar=no,menubar=no,resizable=no,location=no, status=no');
	}
    </SCRIPT>   
</HEAD>

<BODY>
 
<%@include file="../../common1/toplogin.jsp"%>    
<%@include file="../../common1/topbanner.jsp"%> 
<%@include file="../../common1/topmenu.jsp"%> 
 
<div id="contentmain">

	<div id="content_left">
	     
			<%@include file="../include/userbaseInfo.jsp"%>

	</div>
    
    <div id="content_right">
       <jsp:include   page="../include/baseTop.jsp"    flush="true">   
		      <jsp:param    name="open"    value="6"    />   
		</jsp:include>
      <Br />
      <table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
      	<tr><td colspan="4"><div id="redtitle">您所在科研机构的科技成果列表</div></td></tr>
    	<tr>
        	<td width="5%" height="30">&nbsp;</td>
       	  <td width="40%">成果名称</td>
            <td width="20%">研究起止时间</td>
            <td width="25%">成果跟踪情况</td>
            <td width="10%">操作</td>
        </tr>
        <%
		if(achieveSet!=null){
			for(int i=0;i<achieveSet.size();i++){
      			Record achieveRecord = achieveSet.get(i);
				String strackcount = trackcount.get(achieveRecord.getString("KJCGID",""))==null?"":(String)trackcount.get(achieveRecord.getString("KJCGID",""));
		%>
        <tr>
        	<td width="5%" height="30"></td>
            <td width="40%" align="left"><a target="_blank" href="<%=path%>/achieve1/info.jsp?kjcgid=<%=achieveRecord.getString("KJCGID","")%>"><%=achieveRecord.getString("KJCG_ITEM_3","")%></a></td>
            <td width="20%"><%=achieveRecord.getString("KJCG_ITEM_8","")%></td>
            <td width="25%">
            <%
            if(trackcount!=null && !"".equals(strackcount)){
			%>
            	<a target="_blank" href="<%=path%>/membercenter/achievetrack?method=trackList&kjcgid=<%=achieveRecord.getString("KJCGID","")%>">共有 <%=strackcount%> 条</a>
            <%
			}else{
			%>
            	暂无
            <%
			}
			%>
            </td>
            <td width="10%"><a href="#2012" onClick="_addTrack('<%=achieveRecord.getString("KJCGID","")%>','<%=achieveRecord.getString("KJCG_ITEM_3","")%>')">添加</a></td>
        </tr>
        <%
			}
		}
		%>
       
        <tr><td height="10"></td></tr>
        <tr><td height="35" colspan="4" align="right"><jsp:include flush="true" page="../../common1/paging.jsp"></jsp:include></td></tr>
	</table>
    </div>
</div>
    
<%@include file="../../common1/bottom.jsp"%>    

</BODY>
</HTML>
